﻿using System.Windows;
using System.Windows.Controls;

namespace AnthStat.WPF.Presentation.Controls
{
    public class MeasurementInputs : Control
    {
        public static readonly DependencyProperty AllowsDirectAgeInputProperty = DependencyProperty.Register("AllowsDirectAgeInput", typeof(bool), typeof(MeasurementInputs), new FrameworkPropertyMetadata(false, FrameworkPropertyMetadataOptions.AffectsArrange | FrameworkPropertyMetadataOptions.AffectsMeasure | FrameworkPropertyMetadataOptions.AffectsRender));
        public bool AllowsDirectAgeInput
        {
            get
            {
                return (bool)(this.GetValue(AllowsDirectAgeInputProperty));
            }
            set
            {
                this.SetValue(AllowsDirectAgeInputProperty, value);
            }
        }
        

        static MeasurementInputs()
        {
            DefaultStyleKeyProperty.OverrideMetadata(typeof(MeasurementInputs), new FrameworkPropertyMetadata(typeof(MeasurementInputs)));
        }
    }
}
